<%-- 
    Document   : advancedSearch
    Created on : Dec 22, 2011, 11:42:05 AM
    Author     : Hatta
--%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:import url="header.jsp" />

<h1>${lexicon.advancedSearch}</h1>

      <form action="obatSearch" method="get">
    <fieldset>
        <table>
            <tr>
                <td width="50%">
                    <label for="merk">${lexicon.merk}:</label><input type="text" name="merk" id="merk" /><br />
                    <label for="kode">${lexicon.kode}:</label><input type="text" name="kode" id="kode" /><br />
                </td>
                <td width="50%">
                    <label for="kuantitas">${lexicon.kuantitas}:</label>
                        <select name="kuantitas" id="kuantitas">
                            <option value="">${lexicon.anyKuantitas}</option>
                            <c:forEach var="kuantitas" items="${kuantitas}">
                                <option value="${kuantitas.key}">${kuantitas.value}</option>
                            </c:forEach>
                        </select><br />
                    <label for="sortBy">${lexicon.sortBy}:</label>
                        <select name="sortBy" id="sortBy">
                            <c:forEach var="sortBy" items="${sortFields}">
                                <option value="${sortBy.key}">${sortBy.value}</option>
                            </c:forEach>
                        </select><br />
                </td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="${lexicon.search}" class="button submit" />
                </td>
            </tr>
        </table>
    </fieldset>
</form>
<c:import url="footer.jsp" />